Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = 'Goulstem'
- if game.Players:FindFirstChild(plr) then
- local char = game.Players[plr]
- char.Animate:Destroy()
- local arm = char:WaitForChild('Torso')['Right Shoulder']
- --Holder
- local m = Instance.new('Model',char)
- m.Name = 'd33k'
- --Right nut
- local p = Instance.new('Part',m)
- p.Size = Vector3.new(1,1,1)
- p.Shape = 'Ball'
- p.TopSurface = 'Smooth'
- p.BottomSurface = 'Smooth'
- p.BrickColor = BrickColor.new('Br. yellowish orange')
- p.Name = 'Right nut'
- local w = Instance.new('Weld',p)
- w.Part0 = char.Torso
- w.Part1 = p
- w.C0 = CFrame.new(.5,-.5,-.5)
- --Left nut
- local p1 = Instance.new('Part',m)
- p1.Size = Vector3.new(1,1,1)
- p1.Shape = 'Ball'
- p1.TopSurface = 'Smooth'
- p1.BottomSurface = 'Smooth'
- p1.BrickColor = BrickColor.new('Br. yellowish orange')
- p1.Name = 'Left nut'
- local w1 = Instance.new('Weld',p1)
- w1.Part0 = char.Torso
- w1.Part1 = p1
- w1.C0 = CFrame.new(-.5,-.5,-.5)
- --Shaft
- local p2 = Instance.new('Part',m)
- p2.FormFactor = 'Custom'
- p2.Size = Vector3.new(.5,5,.5)
- p2.TopSurface = 'Smooth'
- p2.BottomSurface = 'Smooth'
- p2.BrickColor = BrickColor.new('Br. yellowish orange')
- p2.Name = 'Shaft'
- local w2 = Instance.new('Weld',p2)
- w2.Part0 = char.Torso
- w2.Part1 = p2
- w2.C0 = CFrame.new(0,1,-2.3)
- * CFrame.Angles(
- math.rad(-45),
- 0,
- 0
- )
- --Audio
- local sound = Instance.new('Sound',p2)
- sound.SoundId = 'http://www.roblox.com/asset/?id=138285836'
- --Head
- local p3 = Instance.new('Part',m)
- p3.FormFactor = 'Custom'
- p3.Size = Vector3.new(.5,.5,.5)
- p3.Shape = 'Ball'
- p3.TopSurface = 'Smooth'
- p3.BottomSurface = 'Smooth'
- p3.BrickColor = BrickColor.new('Pink')
- p3.Name = 'Head'
- local w3 = Instance.new('Weld',p3)
- w3.Part0 = char.Torso
- w3.Part1 = p3
- w3.C0 = CFrame.new(0,2.9,-4.2)
- * CFrame.Angles(
- math.rad(45),
- 0,
- 0
- )
- --------------------------------------------------------------
- --Damage
- local db = false
- p2.Touched:connect(function(hit)
- if db == false then db = true
- if hit.Parent:FindFirstChild('Humanoid') then
- sound:Play()
- hit.Parent.Humanoid:TakeDamage(5)
- end
- wait(.1)
- db = false
- end
- end)
- --------------------------------------------------------------
- --Jerking Animation
- while wait() do
- --Up
- for i = 1,30 do
- arm.C0 = CFrame.new(.8,.8,0)
- * CFrame.Angles(
- math.rad(40+(i*3)),
- math.rad((i*1.5)+5),
- math.rad(-45)
- )
- wait()
- end
- --Down
- for i = 30,1,-1 do
- arm.C0 = CFrame.new(.8,.8,0)
- * CFrame.Angles(
- math.rad(40+(i*3)),
- math.rad((i*1.5)+5),
- math.rad(-45)
- )
- wait()
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement