SHOW:
|
|
- or go back to the newest paste.
1 | - | local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart) |
1 | + | local Weld4 = Instance.new("Weld", owner.Character.HumanoidRootPart) |
2 | - | humanoidrootpart.Part0 = owner.Character.HumanoidRootPart |
2 | + | Weld4.Part0 = owner.Character.HumanoidRootPart |
3 | - | humanoidrootpart.Part1 = owner.Character.Torso |
3 | + | Weld4.Part1 = owner.Character.Torso |
4 | - | humanoidrootpart.Name = "HumanoidRootPartWeld" |
4 | + | Weld4.Name = "HumanoidRootPartWeld" |
5 | - | humanoidrootpart.C0 = CFrame.Angles(0,0,math.rad(180)) |
5 | + | local tweenService = game:GetService("TweenService") |
6 | - | randomname = math.random(1,2) |
6 | + | while true do |
7 | - | if randomname == 1 then |
7 | + | task.wait() |
8 | - | owner.Character.Humanoid.DisplayName = "DinnerBone" |
8 | + | if owner.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) then |
9 | - | elseif randomname == 2 then |
9 | + | spininfo = TweenInfo.new(0.25,Enum.EasingStyle.Linear) |
10 | - | owner.Character.Humanoid.DisplayName = "Grumm" |
10 | + | |
11 | Spin1 = tweenService:Create(Weld4,spininfo,{C0 = Weld4.C0 * CFrame.Angles(math.rad(-120),0,0)}) | |
12 | Spin2 = tweenService:Create(Weld4,spininfo,{C0 = Weld4.C0 * CFrame.Angles(math.rad(-240),0,0)}) | |
13 | Spin3 = tweenService:Create(Weld4,spininfo,{C0 = Weld4.C0 * CFrame.Angles(math.rad(-360),0,0)}) | |
14 | Spin1:Play() | |
15 | wait(0.25) | |
16 | Spin2:Play() | |
17 | wait(0.25) | |
18 | Spin3:Play() | |
19 | wait(0.25) | |
20 | end | |
21 | end |