R

[funny] loljump

public
rrixh Jul 22, 2024 Never 52
Clone
JavaScript loljump_rrixh.ppt 44 lines (43 loc) | 1.51 KB
1
me = game.Players.LocalPlayer
2
char = me.Character
3
4
char.Humanoid.Changed:connect(function(prop)
5
if prop == "Jump" then
6
char.Humanoid.PlatformStand = true
7
local pos = char.Torso.CFrame * CFrame.Angles(0,-math.pi/2,0)
8
local pos2 = char.Torso.CFrame * CFrame.new(0,25,-18)
9
local bav = Instance.new("BodyAngularVelocity",char.Torso)
10
bav.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
11
bav.angularvelocity = pos.lookVector * -6
12
local bf = Instance.new("BodyPosition",char.Torso)
13
bf.maxForce = Vector3.new(30000,30000,30000)
14
bf.position = pos2.p
15
coroutine.resume(coroutine.create(function()
16
wait(0.2)
17
bf:remove()
18
end))
19
for i=1, 30 do
20
wait()
21
local p = Instance.new("Part",char)
22
p.CanCollide = false
23
p.Size = Vector3.new(1,1,1)
24
p.Anchored = true
25
p.BrickColor = BrickColor.Red()
26
p.CFrame = CFrame.new(char.Torso.Position) * CFrame.new(0,-4,0)
27
local m = Instance.new("SpecialMesh",p)
28
m.MeshType = "FileMesh"
29
m.MeshId = "http://www.roblox.com/asset/?id=20329976"
30
m.Scale = Vector3.new(4,2,4)
31
coroutine.resume(coroutine.create(function()
32
for i=0.3,1,0.07 do
33
p.Transparency = i
34
wait()
35
end
36
p:remove()
37
end))
38
end
39
bav:remove()
40
bf:remove()
41
char.Humanoid.PlatformStand = false
42
end
43
end)
44
game:GetService("StarterGui"):SetCore("SendNotification", {Title = "lol jump", Duration = 6, Button1 = "👺 prexiate it", Callback = function() end, Text = "made by @lulaslollipop🍭 on RBLX});