SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | - | mouse = game.Players.LocalPlayer:GetMouse() |
15 | + | local function fakeEvent() |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | - | game:GetService("RunService").RenderStepped:wait() |
25 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | - | game:GetService("RunService").RenderStepped:wait() |
43 | + | m.Target = io.Target |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").Rohan_Kishiba | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | - | game:GetService("RunService").RenderStepped:wait() |
66 | + | local input = function(io,a) |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | - | game:GetService("RunService").RenderStepped:wait() |
76 | + | --Give the server mouse data 30 times every second, but only if the values changed |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | --Made by Rufus14 | |
88 | --[[ | |
89 | right arm: | |
90 | 1.58977389, 0.868433952, 0, -0.342011899, -0.939695716, 0, 0.939695716, -0.342011899, 0, 0, 0, 1 | |
91 | left arm: | |
92 | -1.71050239, 0.284187794, 0, 0.34202224, 0.939694464, 0, -0.939694464, 0.34202224, 0, 0, 0, 1 | |
93 | left leg: | |
94 | -0.939078927, -1.45322824, -0.0111112595, 0.939692974, 0.342019826, 0, -0.342019826, 0.939692974, 0, 0, 0, 1 | |
95 | - | game:GetService("RunService").RenderStepped:wait() |
95 | + | |
96 | 1.14675486, -1.46428752, 0.021125555, 0.866025448, -0.500000894, -1.92455758e-08, 0.49240464, 0.852868915, 0.173648074, -0.0868241191, -0.150383577, 0.984807789 | |
97 | humanoidrootpart: | |
98 | 0.108204141, 0, -0.61365068, 0.173649266, 0, 0.984804511, 0, 1, 0, -0.984804511, 0, 0.173649266 | |
99 | --]] | |
100 | creator = "Rufus14" | |
101 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
102 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
103 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
104 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
105 | - | game:GetService("RunService").RenderStepped:wait() |
105 | + | |
106 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
107 | rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
108 | for i = 0,1 , 0.05 do | |
109 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.34609127, 0.444582939, -0.184151649, 0.92388171, 0.382677972, -1.05005725e-07, -0.35354507, 0.853548288, 0.38267988, 0.146443143, -0.353550762, 0.923871458),i) | |
110 | game:GetService("RunService").Stepped:wait() | |
111 | end | |
112 | snowball = Instance.new("Part", game.Players.LocalPlayer.Character) | |
113 | snowball.Shape = "Ball" | |
114 | snowball.Size = Vector3.new(math.random(0.8,1),math.random(0.8,1),math.random(0.8,1)) | |
115 | snowball.Material = "Sand" | |
116 | snowball.BrickColor = BrickColor.new("Institutional white") | |
117 | snowball:BreakJoints() | |
118 | snowballweld = Instance.new("Weld", game.Players.LocalPlayer.Character["Right Arm"]) | |
119 | snowballweld.Part0 = game.Players.LocalPlayer.Character["Right Arm"] | |
120 | snowballweld.Part1 = snowball | |
121 | snowballweld.C0 = snowballweld.C0 * CFrame.new(0,-1.2,0) | |
122 | pickup = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Arm"]) | |
123 | pickup.Volume = 5 | |
124 | - | game:GetService("RunService").RenderStepped:wait() |
124 | + | |
125 | pickup:Play() | |
126 | for i = 0,1 , 0.05 do | |
127 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i) | |
128 | game:GetService("RunService").Stepped:wait() | |
129 | end | |
130 | rhandweld:destroy() | |
131 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
132 | yellowballxd = false | |
133 | normalball = true | |
134 | - | game:GetService("RunService").RenderStepped:wait() |
134 | + | |
135 | greenball = false | |
136 | using = false | |
137 | function change(key) | |
138 | key = key:lower() | |
139 | if key == "q" then | |
140 | if not using then | |
141 | using = true | |
142 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
143 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
144 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
145 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
146 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
147 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
148 | rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
149 | for i = 0,1 , 0.05 do | |
150 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.34609127, 0.444582939, -0.184151649, 0.92388171, 0.382677972, -1.05005725e-07, -0.35354507, 0.853548288, 0.38267988, 0.146443143, -0.353550762, 0.923871458),i) | |
151 | game:GetService("RunService").Stepped:wait() | |
152 | end | |
153 | - | game:GetService("RunService").RenderStepped:wait() |
153 | + | |
154 | snowball.BrickColor = BrickColor.new("New Yeller") | |
155 | normalball = false | |
156 | yellowballxd = true | |
157 | blueball = false | |
158 | greenball = false | |
159 | for i = 0,1 , 0.05 do | |
160 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i) | |
161 | game:GetService("RunService").Stepped:wait() | |
162 | end | |
163 | - | game:GetService("RunService").RenderStepped:wait() |
163 | + | |
164 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
165 | using = false | |
166 | end | |
167 | end | |
168 | if key == "e" then | |
169 | if not using then | |
170 | using = true | |
171 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
172 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
173 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
174 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
175 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
176 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
177 | rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
178 | for i = 0,1 , 0.05 do | |
179 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.34609127, 0.444582939, -0.184151649, 0.92388171, 0.382677972, -1.05005725e-07, -0.35354507, 0.853548288, 0.38267988, 0.146443143, -0.353550762, 0.923871458),i) | |
180 | game:GetService("RunService").Stepped:wait() | |
181 | end | |
182 | pickup:Play() | |
183 | snowball.BrickColor = BrickColor.new("Electric blue") | |
184 | normalball = false | |
185 | yellowballxd = false | |
186 | blueball = true | |
187 | greenball = false | |
188 | for i = 0,1 , 0.05 do | |
189 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i) | |
190 | game:GetService("RunService").Stepped:wait() | |
191 | end | |
192 | rhandweld:destroy() | |
193 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
194 | using = false | |
195 | end | |
196 | end | |
197 | if key == "r" then | |
198 | if not using then | |
199 | using = true | |
200 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
201 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
202 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
203 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
204 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
205 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
206 | rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
207 | for i = 0,1 , 0.05 do | |
208 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.34609127, 0.444582939, -0.184151649, 0.92388171, 0.382677972, -1.05005725e-07, -0.35354507, 0.853548288, 0.38267988, 0.146443143, -0.353550762, 0.923871458),i) | |
209 | game:GetService("RunService").Stepped:wait() | |
210 | end | |
211 | pickup:Play() | |
212 | snowball.BrickColor = BrickColor.new("Lime green") | |
213 | normalball = false | |
214 | yellowballxd = false | |
215 | blueball = false | |
216 | greenball = true | |
217 | for i = 0,1 , 0.05 do | |
218 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i) | |
219 | game:GetService("RunService").Stepped:wait() | |
220 | end | |
221 | - | game:GetService("RunService").RenderStepped:wait() |
221 | + | |
222 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
223 | using = false | |
224 | end | |
225 | end | |
226 | if key == "t" then | |
227 | if not using then | |
228 | using = true | |
229 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
230 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
231 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
232 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
233 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
234 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
235 | rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
236 | for i = 0,1 , 0.05 do | |
237 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.34609127, 0.444582939, -0.184151649, 0.92388171, 0.382677972, -1.05005725e-07, -0.35354507, 0.853548288, 0.38267988, 0.146443143, -0.353550762, 0.923871458),i) | |
238 | game:GetService("RunService").Stepped:wait() | |
239 | end | |
240 | pickup:Play() | |
241 | snowball.BrickColor = BrickColor.new("Institutional white") | |
242 | normalball = true | |
243 | yellowballxd = false | |
244 | blueball = false | |
245 | greenball = false | |
246 | for i = 0,1 , 0.05 do | |
247 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i) | |
248 | game:GetService("RunService").Stepped:wait() | |
249 | end | |
250 | rhandweld:destroy() | |
251 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
252 | using = false | |
253 | end | |
254 | end | |
255 | end | |
256 | mouse.KeyDown:connect(change) | |
257 | function throw() | |
258 | if not using then | |
259 | if normalball then | |
260 | if not using then | |
261 | using = true | |
262 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 13 | |
263 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 35 | |
264 | local humanclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
265 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:destroy() | |
266 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
267 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
268 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
269 | -- | |
270 | local rramclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
271 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
272 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
273 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
274 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
275 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
276 | rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
277 | -- | |
278 | local lramclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
279 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove() | |
280 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
281 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
282 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
283 | lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
284 | lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
285 | -- | |
286 | local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
287 | game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove() | |
288 | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
289 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
290 | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] | |
291 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
292 | llegweld.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
293 | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
294 | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() | |
295 | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
296 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
297 | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] | |
298 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
299 | rlegweld.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
300 | for i = 0,1 , 0.05 do | |
301 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.311559588, 0, 0.53963238, -0.49999997, 0, -0.866022229, 0, 1, 0, 0.866017878, 0, -0.499999911),i) | |
302 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.911002815, -1.06217694, -0.0497762673, 0.866022468, -0.500005245, -2.20289962e-06, 0.492409468, 0.852865636, 0.173646986, -0.0868225172, -0.150383264, 0.984808028),i) | |
303 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.35458624, 0.413718224, -1.04902992e-05, 0.34201327, 0.939688265, -2.2649956e-06, -0.939694345, 0.342015535, -6.82124387e-13, 2.30360229e-06, 6.32919409e-06, 1.00000083),i) | |
304 | llegweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.759298325, -0.959312201, -0.0111142797, 0.939691424, 0.342023671, -2.26499242e-06, -0.3420237, 0.939691365, 1.13687488e-13, 2.12839291e-06, 7.746807e-07, 1),i) | |
305 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.44411337, 0.815430164, 8.35970241e-06, -0.342003971, -0.939698517, -6.73541899e-06, 0.939698517, -0.342004001, -4.54746592e-13, -2.30353999e-06, -6.32926321e-06, 1),i) | |
306 | game:GetService("RunService").Stepped:wait() | |
307 | end | |
308 | wait(0.5) | |
309 | local snowballclone = snowball:Clone() | |
310 | snowballclone.Parent = workspace | |
311 | snowballclone:BreakJoints() | |
312 | snowballclone.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(-3,0,0) | |
313 | snowball.Transparency = 1 | |
314 | snowballclone.Transparency = 0 | |
315 | snowballclone.CanCollide = true | |
316 | local velocityofsnow = Instance.new("BodyVelocity", snowballclone) | |
317 | velocityofsnow.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
318 | velocityofsnow.Velocity = mouse.Hit.lookVector * 70 | |
319 | local function ragdollify(part) | |
320 | snowballclone:destroy() | |
321 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
322 | if humanoid then | |
323 | humanoid.Health = humanoid.Health - math.random(25,45) | |
324 | humanoid.PlatformStand = true | |
325 | local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone() | |
326 | local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone() | |
327 | local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone() | |
328 | local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone() | |
329 | local leftarm = humanoid.Parent["Left Arm"] | |
330 | local rightrm = humanoid.Parent["Right Arm"] | |
331 | local leftleg = humanoid.Parent["Left Leg"] | |
332 | local rightleg = humanoid.Parent["Right Leg"] | |
333 | humanoid.Parent.Torso["Left Hip"]:destroy() | |
334 | local head = humanoid.Parent.Head | |
335 | glue = Instance.new("Glue", humanoid.Parent.Torso) | |
336 | glue.Part0 = humanoid.Parent.Torso | |
337 | glue.Part1 = leftleg | |
338 | glue.Name = "Left leg" | |
339 | collider = Instance.new("Part", leftleg) | |
340 | collider.Position = Vector3.new(0,999,0) | |
341 | collider.Size = Vector3.new(1.5, 1, 1) | |
342 | collider.Shape = "Cylinder" | |
343 | local weld = Instance.new("Weld", collider) | |
344 | weld.Part0 = leftleg | |
345 | weld.Part1 = collider | |
346 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
347 | collider.TopSurface = "Smooth" | |
348 | collider.BottomSurface = "Smooth" | |
349 | collider.formFactor = "Symmetric" | |
350 | - | game:GetService("RunService").RenderStepped:wait() |
350 | + | |
351 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
352 | collider.Transparency = 1 | |
353 | ------------ | |
354 | humanoid.Parent.Torso["Right Hip"]:destroy() | |
355 | glue1 = Instance.new("Glue", humanoid.Parent.Torso) | |
356 | glue1.Part0 = humanoid.Parent.Torso | |
357 | glue1.Part1 = rightleg | |
358 | glue1.Name = "Right leg" | |
359 | collider1 = Instance.new("Part", rightleg) | |
360 | - | game:GetService("RunService").RenderStepped:wait() |
360 | + | |
361 | collider1.Size = Vector3.new(1.5, 1, 1) | |
362 | collider1.Shape = "Cylinder" | |
363 | local weld1 = Instance.new("Weld", collider1) | |
364 | weld1.Part0 = rightleg | |
365 | weld1.Part1 = collider1 | |
366 | weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
367 | collider1.TopSurface = "Smooth" | |
368 | collider1.BottomSurface = "Smooth" | |
369 | collider1.formFactor = "Symmetric" | |
370 | glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
371 | glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
372 | collider1.Transparency = 1 | |
373 | ------------ | |
374 | humanoid.Parent.Torso["Right Shoulder"]:destroy() | |
375 | glue11 = Instance.new("Glue", humanoid.Parent.Torso) | |
376 | glue11.Part0 = humanoid.Parent.Torso | |
377 | glue11.Part1 = rightrm | |
378 | glue11.Name = "Right shoulder" | |
379 | collider11 = Instance.new("Part", rightrm) | |
380 | collider11.Position = Vector3.new(0,9999,0) | |
381 | collider11.Size = Vector3.new(1.8,1,1) | |
382 | collider11.Shape = "Cylinder" | |
383 | local weld11 = Instance.new("Weld", collider11) | |
384 | weld11.Part0 = rightrm | |
385 | weld11.Part1 = collider11 | |
386 | weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
387 | collider11.TopSurface = "Smooth" | |
388 | collider11.BottomSurface = "Smooth" | |
389 | collider11.formFactor = "Symmetric" | |
390 | glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
391 | glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
392 | collider11.Transparency = 1 | |
393 | ------------ | |
394 | humanoid.Parent.Torso["Left Shoulder"]:destroy() | |
395 | glue111 = Instance.new("Glue", humanoid.Parent.Torso) | |
396 | glue111.Part0 = humanoid.Parent.Torso | |
397 | glue111.Part1 = leftarm | |
398 | glue111.Name = "Left shoulder" | |
399 | collider111 = Instance.new("Part", leftarm) | |
400 | collider111.Position = Vector3.new(0,9999,0) | |
401 | collider111.Size = Vector3.new(1.5, 1, 1) | |
402 | collider111.Shape = "Cylinder" | |
403 | local weld111 = Instance.new("Weld", collider111) | |
404 | weld111.Part0 = leftarm | |
405 | weld111.Part1 = collider111 | |
406 | weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
407 | collider111.TopSurface = "Smooth" | |
408 | collider111.BottomSurface = "Smooth" | |
409 | collider111.formFactor = "Symmetric" | |
410 | glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
411 | glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
412 | collider111.Transparency = 1 | |
413 | ----------------- | |
414 | wait(3.5) | |
415 | lshclone.Parent = humanoid.Parent.Torso | |
416 | glue:destroy() | |
417 | rshclone.Parent = humanoid.Parent.Torso | |
418 | glue1:destroy() | |
419 | lhclone.Parent = humanoid.Parent.Torso | |
420 | glue11:destroy() | |
421 | rhclone.Parent = humanoid.Parent.Torso | |
422 | glue111:destroy() | |
423 | collider:destroy() | |
424 | collider1:destroy() | |
425 | - | game:GetService("RunService").RenderStepped:wait() |
425 | + | |
426 | collider111:destroy() | |
427 | humanoid.PlatformStand = false | |
428 | end | |
429 | end | |
430 | snowballclone.Touched:connect(ragdollify) | |
431 | for i = 0,1 , 0.05 do | |
432 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0.585555017, 0, -0.213117853, 0.939702094, 0, 0.342020571, 0, 1, 0, -0.342020601, 0, 0.939702094),i) | |
433 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.49296713, 0.461903334, -3.31678239e-05, 0.939688385, 0.342033148, -2.14414758e-05, -0.342033029, 0.939687967, -1.55231817e-06, 2.64785322e-05, 1.12897578e-05, 0.999999583),i) | |
434 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.31839883, 0.43920517, 2.37754084e-05, 0.939700186, -0.342000574, -1.70388394e-05, 0.342000455, 0.939699888, 7.7619211e-07, 2.26072043e-05, -9.05381148e-06, 0.999999583),i) | |
435 | game:GetService("RunService").Stepped:wait() | |
436 | end | |
437 | velocityofsnow:destroy() | |
438 | wait(0.5) | |
439 | for i = 0,1 , 0.03 do | |
440 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
441 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),i) | |
442 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),i) | |
443 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),i) | |
444 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i) | |
445 | game:GetService("RunService").Stepped:wait() | |
446 | end | |
447 | snowball.Transparency = 0 | |
448 | rlegweld:destroy() | |
449 | llegweld:destroy() | |
450 | lhandweld:destroy() | |
451 | - | game:GetService("RunService").RenderStepped:wait() |
451 | + | |
452 | humanoidrootpart:destroy() | |
453 | rramclone.Parent = game.Players.LocalPlayer.Character.Torso | |
454 | lramclone.Parent = game.Players.LocalPlayer.Character.Torso | |
455 | humanclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
456 | llegclone.Parent = game.Players.LocalPlayer.Character.Torso | |
457 | rlegclone.Parent = game.Players.LocalPlayer.Character.Torso | |
458 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
459 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
460 | using = false | |
461 | - | game:GetService("RunService").RenderStepped:wait() |
461 | + | |
462 | end | |
463 | if yellowballxd then | |
464 | if not using then | |
465 | using = true | |
466 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 13 | |
467 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 35 | |
468 | local humanclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
469 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:destroy() | |
470 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
471 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
472 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
473 | -- | |
474 | local rramclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
475 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
476 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
477 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
478 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
479 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
480 | rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
481 | -- | |
482 | local lramclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
483 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove() | |
484 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
485 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
486 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
487 | lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
488 | lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
489 | -- | |
490 | local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
491 | game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove() | |
492 | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
493 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
494 | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] | |
495 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
496 | llegweld.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
497 | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
498 | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() | |
499 | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
500 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
501 | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] | |
502 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
503 | rlegweld.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
504 | for i = 0,1 , 0.05 do | |
505 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.311559588, 0, 0.53963238, -0.49999997, 0, -0.866022229, 0, 1, 0, 0.866017878, 0, -0.499999911),i) | |
506 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.911002815, -1.06217694, -0.0497762673, 0.866022468, -0.500005245, -2.20289962e-06, 0.492409468, 0.852865636, 0.173646986, -0.0868225172, -0.150383264, 0.984808028),i) | |
507 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.35458624, 0.413718224, -1.04902992e-05, 0.34201327, 0.939688265, -2.2649956e-06, -0.939694345, 0.342015535, -6.82124387e-13, 2.30360229e-06, 6.32919409e-06, 1.00000083),i) | |
508 | llegweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.759298325, -0.959312201, -0.0111142797, 0.939691424, 0.342023671, -2.26499242e-06, -0.3420237, 0.939691365, 1.13687488e-13, 2.12839291e-06, 7.746807e-07, 1),i) | |
509 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.44411337, 0.815430164, 8.35970241e-06, -0.342003971, -0.939698517, -6.73541899e-06, 0.939698517, -0.342004001, -4.54746592e-13, -2.30353999e-06, -6.32926321e-06, 1),i) | |
510 | game:GetService("RunService").Stepped:wait() | |
511 | end | |
512 | wait(0.5) | |
513 | local snowballclone = snowball:Clone() | |
514 | snowballclone.Parent = workspace | |
515 | snowballclone:BreakJoints() | |
516 | snowballclone.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(-3,0,0) | |
517 | snowball.Transparency = 1 | |
518 | snowballclone.Transparency = 0 | |
519 | snowballclone.CanCollide = true | |
520 | local velocityofsnow = Instance.new("BodyVelocity", snowballclone) | |
521 | velocityofsnow.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
522 | velocityofsnow.Velocity = mouse.Hit.lookVector * 70 | |
523 | local function ragdollify(part) | |
524 | snowballclone:destroy() | |
525 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
526 | - | game:GetService("RunService").RenderStepped:wait() |
526 | + | |
527 | humanoid.Health = humanoid.Health - math.random(25,45) | |
528 | humanoid.WalkSpeed = humanoid.WalkSpeed - math.random(5,8) | |
529 | end | |
530 | end | |
531 | snowballclone.Touched:connect(ragdollify) | |
532 | for i = 0,1 , 0.05 do | |
533 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0.585555017, 0, -0.213117853, 0.939702094, 0, 0.342020571, 0, 1, 0, -0.342020601, 0, 0.939702094),i) | |
534 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.49296713, 0.461903334, -3.31678239e-05, 0.939688385, 0.342033148, -2.14414758e-05, -0.342033029, 0.939687967, -1.55231817e-06, 2.64785322e-05, 1.12897578e-05, 0.999999583),i) | |
535 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.31839883, 0.43920517, 2.37754084e-05, 0.939700186, -0.342000574, -1.70388394e-05, 0.342000455, 0.939699888, 7.7619211e-07, 2.26072043e-05, -9.05381148e-06, 0.999999583),i) | |
536 | game:GetService("RunService").Stepped:wait() | |
537 | end | |
538 | velocityofsnow:destroy() | |
539 | wait(0.5) | |
540 | for i = 0,1 , 0.03 do | |
541 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
542 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),i) | |
543 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),i) | |
544 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),i) | |
545 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i) | |
546 | game:GetService("RunService").Stepped:wait() | |
547 | end | |
548 | snowball.Transparency = 0 | |
549 | rlegweld:destroy() | |
550 | llegweld:destroy() | |
551 | lhandweld:destroy() | |
552 | rhandweld:destroy() | |
553 | humanoidrootpart:destroy() | |
554 | rramclone.Parent = game.Players.LocalPlayer.Character.Torso | |
555 | lramclone.Parent = game.Players.LocalPlayer.Character.Torso | |
556 | humanclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
557 | llegclone.Parent = game.Players.LocalPlayer.Character.Torso | |
558 | rlegclone.Parent = game.Players.LocalPlayer.Character.Torso | |
559 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
560 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
561 | using = false | |
562 | end | |
563 | end | |
564 | if blueball then | |
565 | - | game:GetService("RunService").RenderStepped:wait() |
565 | + | |
566 | using = true | |
567 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 13 | |
568 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 35 | |
569 | local humanclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
570 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:destroy() | |
571 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
572 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
573 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
574 | -- | |
575 | - | game:GetService("RunService").RenderStepped:wait() |
575 | + | |
576 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
577 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
578 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
579 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
580 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
581 | rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
582 | -- | |
583 | local lramclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
584 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove() | |
585 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
586 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
587 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
588 | lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
589 | lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
590 | -- | |
591 | local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
592 | game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove() | |
593 | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
594 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
595 | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] | |
596 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
597 | llegweld.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
598 | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
599 | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() | |
600 | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
601 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
602 | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] | |
603 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
604 | rlegweld.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
605 | for i = 0,1 , 0.05 do | |
606 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.311559588, 0, 0.53963238, -0.49999997, 0, -0.866022229, 0, 1, 0, 0.866017878, 0, -0.499999911),i) | |
607 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.911002815, -1.06217694, -0.0497762673, 0.866022468, -0.500005245, -2.20289962e-06, 0.492409468, 0.852865636, 0.173646986, -0.0868225172, -0.150383264, 0.984808028),i) | |
608 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.35458624, 0.413718224, -1.04902992e-05, 0.34201327, 0.939688265, -2.2649956e-06, -0.939694345, 0.342015535, -6.82124387e-13, 2.30360229e-06, 6.32919409e-06, 1.00000083),i) | |
609 | llegweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.759298325, -0.959312201, -0.0111142797, 0.939691424, 0.342023671, -2.26499242e-06, -0.3420237, 0.939691365, 1.13687488e-13, 2.12839291e-06, 7.746807e-07, 1),i) | |
610 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.44411337, 0.815430164, 8.35970241e-06, -0.342003971, -0.939698517, -6.73541899e-06, 0.939698517, -0.342004001, -4.54746592e-13, -2.30353999e-06, -6.32926321e-06, 1),i) | |
611 | game:GetService("RunService").Stepped:wait() | |
612 | end | |
613 | wait(0.5) | |
614 | local snowballclone = snowball:Clone() | |
615 | snowballclone.Parent = workspace | |
616 | snowballclone:BreakJoints() | |
617 | snowballclone.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(-3,0,0) | |
618 | snowball.Transparency = 1 | |
619 | snowballclone.Transparency = 0 | |
620 | snowballclone.CanCollide = true | |
621 | local velocityofsnow = Instance.new("BodyVelocity", snowballclone) | |
622 | velocityofsnow.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
623 | velocityofsnow.Velocity = mouse.Hit.lookVector * 70 | |
624 | local function ragdollify(part) | |
625 | snowballclone:destroy() | |
626 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
627 | if humanoid then | |
628 | for i = 1,math.random(7,9) do | |
629 | local ded = humanoid.Parent.Head:findFirstChild("Died") | |
630 | local freeze = Instance.new("Part", humanoid.Parent) | |
631 | freeze.Transparency = 0.6 | |
632 | freeze.BrickColor = BrickColor.new("Electric blue") | |
633 | freeze.Size = Vector3.new(6,10,6) | |
634 | freeze.Material = "Ice" | |
635 | freeze.Anchored = true | |
636 | humanoid.Parent.Torso.Anchored = true | |
637 | freeze.CFrame = humanoid.Parent.Torso.CFrame | |
638 | humanoid.Health = humanoid.Health - math.random(35,45) | |
639 | wait(3) | |
640 | - | game:GetService("RunService").RenderStepped:wait() |
640 | + | |
641 | humanoid.Parent.Torso.Anchored = false | |
642 | end | |
643 | end | |
644 | end | |
645 | snowballclone.Touched:connect(ragdollify) | |
646 | for i = 0,1 , 0.05 do | |
647 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0.585555017, 0, -0.213117853, 0.939702094, 0, 0.342020571, 0, 1, 0, -0.342020601, 0, 0.939702094),i) | |
648 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.49296713, 0.461903334, -3.31678239e-05, 0.939688385, 0.342033148, -2.14414758e-05, -0.342033029, 0.939687967, -1.55231817e-06, 2.64785322e-05, 1.12897578e-05, 0.999999583),i) | |
649 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.31839883, 0.43920517, 2.37754084e-05, 0.939700186, -0.342000574, -1.70388394e-05, 0.342000455, 0.939699888, 7.7619211e-07, 2.26072043e-05, -9.05381148e-06, 0.999999583),i) | |
650 | game:GetService("RunService").Stepped:wait() | |
651 | end | |
652 | velocityofsnow:destroy() | |
653 | wait(0.5) | |
654 | for i = 0,1 , 0.03 do | |
655 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
656 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),i) | |
657 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),i) | |
658 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),i) | |
659 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i) | |
660 | game:GetService("RunService").Stepped:wait() | |
661 | end | |
662 | snowball.Transparency = 0 | |
663 | rlegweld:destroy() | |
664 | llegweld:destroy() | |
665 | lhandweld:destroy() | |
666 | rhandweld:destroy() | |
667 | humanoidrootpart:destroy() | |
668 | rramclone.Parent = game.Players.LocalPlayer.Character.Torso | |
669 | lramclone.Parent = game.Players.LocalPlayer.Character.Torso | |
670 | humanclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
671 | llegclone.Parent = game.Players.LocalPlayer.Character.Torso | |
672 | - | game:GetService("RunService").RenderStepped:wait() |
672 | + | |
673 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
674 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
675 | using = false | |
676 | end | |
677 | end | |
678 | if greenball then | |
679 | if not using then | |
680 | using = true | |
681 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 13 | |
682 | - | game:GetService("RunService").RenderStepped:wait() |
682 | + | |
683 | local humanclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
684 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:destroy() | |
685 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
686 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
687 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
688 | -- | |
689 | local rramclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
690 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
691 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
692 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
693 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
694 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
695 | rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
696 | -- | |
697 | local lramclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
698 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove() | |
699 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
700 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
701 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
702 | lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
703 | lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
704 | -- | |
705 | local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
706 | game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove() | |
707 | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
708 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
709 | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] | |
710 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
711 | llegweld.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
712 | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
713 | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() | |
714 | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
715 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
716 | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] | |
717 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
718 | rlegweld.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
719 | for i = 0,1 , 0.05 do | |
720 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.311559588, 0, 0.53963238, -0.49999997, 0, -0.866022229, 0, 1, 0, 0.866017878, 0, -0.499999911),i) | |
721 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.911002815, -1.06217694, -0.0497762673, 0.866022468, -0.500005245, -2.20289962e-06, 0.492409468, 0.852865636, 0.173646986, -0.0868225172, -0.150383264, 0.984808028),i) | |
722 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.35458624, 0.413718224, -1.04902992e-05, 0.34201327, 0.939688265, -2.2649956e-06, -0.939694345, 0.342015535, -6.82124387e-13, 2.30360229e-06, 6.32919409e-06, 1.00000083),i) | |
723 | llegweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.759298325, -0.959312201, -0.0111142797, 0.939691424, 0.342023671, -2.26499242e-06, -0.3420237, 0.939691365, 1.13687488e-13, 2.12839291e-06, 7.746807e-07, 1),i) | |
724 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.44411337, 0.815430164, 8.35970241e-06, -0.342003971, -0.939698517, -6.73541899e-06, 0.939698517, -0.342004001, -4.54746592e-13, -2.30353999e-06, -6.32926321e-06, 1),i) | |
725 | game:GetService("RunService").Stepped:wait() | |
726 | end | |
727 | wait(0.5) | |
728 | local snowballclone = snowball:Clone() | |
729 | snowballclone.Parent = workspace | |
730 | snowballclone:BreakJoints() | |
731 | snowballclone.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(-3,0,0) | |
732 | snowball.Transparency = 1 | |
733 | snowballclone.Transparency = 0 | |
734 | snowballclone.CanCollide = true | |
735 | local velocityofsnow = Instance.new("BodyVelocity", snowballclone) | |
736 | velocityofsnow.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
737 | velocityofsnow.Velocity = mouse.Hit.lookVector * 70 | |
738 | local function ragdollify(part) | |
739 | snowballclone:destroy() | |
740 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
741 | if humanoid then | |
742 | for i = 1,math.random(7,9) do | |
743 | local ded = humanoid.Parent.Head:findFirstChild("Died") | |
744 | if ded then | |
745 | humanoid.Parent.Head.Died:Play() | |
746 | end | |
747 | humanoid.Health = humanoid.Health - math.random(8,13) | |
748 | wait(1) | |
749 | end | |
750 | end | |
751 | end | |
752 | snowballclone.Touched:connect(ragdollify) | |
753 | for i = 0,1 , 0.05 do | |
754 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0.585555017, 0, -0.213117853, 0.939702094, 0, 0.342020571, 0, 1, 0, -0.342020601, 0, 0.939702094),i) | |
755 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.49296713, 0.461903334, -3.31678239e-05, 0.939688385, 0.342033148, -2.14414758e-05, -0.342033029, 0.939687967, -1.55231817e-06, 2.64785322e-05, 1.12897578e-05, 0.999999583),i) | |
756 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.31839883, 0.43920517, 2.37754084e-05, 0.939700186, -0.342000574, -1.70388394e-05, 0.342000455, 0.939699888, 7.7619211e-07, 2.26072043e-05, -9.05381148e-06, 0.999999583),i) | |
757 | game:GetService("RunService").Stepped:wait() | |
758 | end | |
759 | velocityofsnow:destroy() | |
760 | wait(0.5) | |
761 | for i = 0,1 , 0.03 do | |
762 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
763 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),i) | |
764 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),i) | |
765 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),i) | |
766 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),i) | |
767 | game:GetService("RunService").Stepped:wait() | |
768 | end | |
769 | snowball.Transparency = 0 | |
770 | rlegweld:destroy() | |
771 | llegweld:destroy() | |
772 | lhandweld:destroy() | |
773 | rhandweld:destroy() | |
774 | humanoidrootpart:destroy() | |
775 | rramclone.Parent = game.Players.LocalPlayer.Character.Torso | |
776 | lramclone.Parent = game.Players.LocalPlayer.Character.Torso | |
777 | humanclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
778 | llegclone.Parent = game.Players.LocalPlayer.Character.Torso | |
779 | rlegclone.Parent = game.Players.LocalPlayer.Character.Torso | |
780 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
781 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
782 | using = false | |
783 | end | |
784 | end | |
785 | end | |
786 | end | |
787 | mouse.Button1Down:connect(throw) | |
788 | if creator == "Rufus14" then | |
789 | print("Made by Rufus14") | |
790 | else | |
791 | print"a dumb faggot changed credits, its by Rufus14" | |
792 | end |