generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Scripter

Previous Thread :: Next Thread 
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
29 Aug 2015 03:03 PM
Can a good scripter help me build some functions for a script?


Falcons for Life
Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
29 Aug 2015 03:04 PM
What functions?
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
29 Aug 2015 03:12 PM
like GameScript functions


Falcons for Life
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
29 Aug 2015 03:16 PM
anyone


Falcons for Life
Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
29 Aug 2015 03:17 PM
You need to explain more.
Report Abuse
TIV67 is not online. TIV67
Joined: 05 Mar 2014
Total Posts: 630
29 Aug 2015 03:17 PM
sure, im advanced
Report Abuse
direMitten is not online. direMitten
Joined: 18 Jun 2015
Total Posts: 1294
29 Aug 2015 03:17 PM
'GameScript functions' doesn't actually mean anything. Tell us what you need, and maybe some random stranger with their own stuff to do and a giant, golden heart will help you out.
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
29 Aug 2015 03:22 PM
For example,

ChooseRandomPlayer to be it
Dress Players
GiveWeapons
CountPlayers
WaitForPlayers


Falcons for Life
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
29 Aug 2015 03:28 PM
So...you need your whole game coded, is what you're saying?
Report Abuse
ToasterCoder is not online. ToasterCoder
Joined: 28 Aug 2015
Total Posts: 137
29 Aug 2015 03:29 PM
^
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
29 Aug 2015 03:30 PM
No, that's just the main LITTLE stuff.

Falcons for Life
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
29 Aug 2015 03:41 PM
;/


Falcons for Life
Report Abuse
8BitRetroGamer is not online. 8BitRetroGamer
Joined: 09 Mar 2013
Total Posts: 3546
29 Aug 2015 03:44 PM
The functions you listed can easily be made via looking it up on roblox wiki.


Attempt to index value 'Sig' (a nil value)
Report Abuse
TwelthTitan is not online. TwelthTitan
Joined: 17 Jan 2015
Total Posts: 198
29 Aug 2015 03:44 PM
^ thats what he said
no rlly


:nbc me, omg
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
29 Aug 2015 03:45 PM
Just when i thought this forum couldnt have a more stupid community, they keep posting.
Report Abuse
davisky2 is not online. davisky2
Joined: 04 Mar 2012
Total Posts: 4710
29 Aug 2015 04:04 PM
Please not another murder game.
Report Abuse
FiveCakes is not online. FiveCakes
Joined: 15 Feb 2012
Total Posts: 5604
29 Aug 2015 04:06 PM
Already working on a big project!
But here is a random one...

local t = script.Parent.Torso

local n = {"Right Arm" ,"Left Arm" ,"Right Leg" ,"Left Leg" }
local rel = {CFrame.new(1.5, 0, 0) ,CFrame.new(-1.5, 0, 0) ,CFrame.new(0.5, -2, 0) ,CFrame.new(-0.5, -2, 0) }
local C0 = {CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)}
local C1 = {CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) ,CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) ,CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) ,CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) }

function weightPart(part)
local p = Instance.new("Part")
p.FormFactor = "Custom"
p.Size = Vector3.new(0.4,0.4,0.4)
p.Parent = script.Parent
p.Transparency = 1
p.CFrame = part.CFrame*CFrame.new(0,-0.5,0)
local w = Instance.new("Weld")
w.Part0 = part
w.Part1 = p
w.C0 = CFrame.new(0,-0.5,0)
w.Parent = p
end

script.Parent:WaitForChild("Humanoid")

script.Parent.Humanoid.Died:connect(function()
local tCfr = script.Parent.Torso.CFrame

script.Parent:BreakJoints()

if script.Parent.Humanoid:FindFirstChild("Cop")~=nil then
local g = game.ReplicatedStorage.GunDrop:Clone()
g.Position = script.Parent.Torso.Position
g.Parent = workspace.Map
end

local m = Instance.new("Model")
m.Parent = workspace
for i,p in ipairs(script.Parent:GetChildren()) do
if p.className=="Tool" then
p:Remove()
else
if p.Name~="Humanoid" then
p.Parent = m
if p.className=="Part" then
if p.Velocity.magnitude>50 then
p.Velocity = p.Velocity.Unit*50
end
p.RotVelocity = Vector3.new(0,0,0)
p:BreakJoints()
p.CanCollide = false
end
end
end
end

local hw = Instance.new("Weld")
hw.Part0 = t
hw.Part1 = script.Parent.Head
hw.C0 = CFrame.new(0,1.5,0)
hw.Parent = t
hw = Instance.new("Weld")
hw.Part0 = script.Parent.Head2
hw.Part1 = script.Parent.Head
hw.Parent = script.Parent.Head
script.Parent.HumanoidRootPart.Size = Vector3.new(0.2,0.2,0.2)
hw = Instance.new("Weld")
hw.Part0 = script.Parent.Torso
hw.Part1 = script.Parent.HumanoidRootPart
hw.Parent = script.Parent.Torso

--script.Parent.Torso.CFrame = script.Parent.Head.CFrame*CFrame.new(0,-1.5,0)
local h = Instance.new("Humanoid")
h.Name = "Dead"
h.PlatformStand = true
h.MaxHealth = 0
h.Health = 0
h.Parent = script.Parent

for i=1,#n do
local part = script.Parent:FindFirstChild(n[i])
if part~=nil then
part.CFrame = t.CFrame*rel[i]
local g = Instance.new("Glue")
g.Part0 = t
g.Part1 = part
g.C0 = C0[i]
g.C1 = C1[i]
g.Parent = t
g.Name = part.Name
weightPart(part)
end
end

local hs = script.Parent:GetChildren()
for i=1,#hs do
if hs[i].className == "Hat" then
local han = hs[i].Handle
han.Parent = script.Parent
local hW = Instance.new("Weld")
hW.Part0 = script.Parent.Head
hW.Part1 = han
hW.C0 = CFrame.new(0, 0.5, 0) * hs[i].AttachmentPoint:inverse()
hW.Parent = han
end
end

t.ChildRemoved:connect(function(c)
print("removed:",c)
for i=1,#n do
if c.Name==n[i] and script.Parent:FindFirstChild(n[i])~=nil then
local part = script.Parent[n[i]]
for _,p in ipairs(script.Parent:GetChildren()) do
if p.className=="Part" then
p.Velocity = Vector3.new(0,0,0)
p.RotVelocity = Vector3.new(0,0,0)
p.Anchored = true
end
end
if part~=nil then
print("attaching part:",part)
part.CFrame = t.CFrame*rel[i]
local g = Instance.new("Glue")
g.Part0 = t
g.Part1 = part
g.C0 = C0[i]
g.C1 = C1[i]
g.Parent = t
g.Name = part.Name
end
end
end
end)

local runServ = game:GetService("RunService")

while game.Players.LocalPlayer.Character==nil or game.Players.LocalPlayer.Character:FindFirstChild("Head")==nil do
workspace.CurrentCamera.CoordinateFrame = m.Head.CFrame
workspace.CurrentCamera.Focus = m.Head.CFrame*CFrame.new(0,0,-1)
runServ.RenderStepped:wait()
end
end)

TIP : http://web.roblox.com/D-Thanks-item?id=266249657
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image