View difference between Paste ID: ZzPZDdTy and MvFppBys
SHOW: | | - or go back to the newest paste.
1
--[[
2
	 Fling script by Davodio
3
     Click on someone to make them mad xD!
4
--]]
5
print("Loading...")
6
print("Fling loaded!")
7
print("Script made by XDavodioX")
8
print("Equip the tool.")
9
print("Then click on player or npc.")
10
print("Enjoy them how they rage! :D")
11
print("(if you don't want them to explode you have to edit this script!)")
12
print("Oh yeah it works on like every player/npc.")
13-
explode = true -- if u want them to explode or not
13+
explode = false -- if u want them to explode or not
14
local countdown = 5 -- seconds before the explosion if u have it on 
15
plr = game.Players.LocalPlayer
16
char = plr.Character
17
hum = char.Humanoid
18
tool = Instance.new("HopperBin", plr.Backpack)
19
tool.Name = "Fling some noobs!"
20
mouse = plr:GetMouse()
21-
flyspeed = 999999
21+
flyspeed = 5000000
22
23
24
tool.Selected:connect(function()
25
	mouse.Button1Down:connect(function()
26
		if tool.Active == true and mouse.Target.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent:FindFirstChild("Torso") then
27
		local torso = mouse.Target.Parent:FindFirstChild("Torso")
28
		local thum = torso.Parent:FindFirstChild("Humanoid")
29
		if thum ~= hum then
30
			
31
		local humrootpart = torso.Parent:FindFirstChild("HumanoidRootPart")
32
		local bv = Instance.new("BodyVelocity")
33
	    bv.MaxForce = Vector3.new(1e8,1e8,1e8)
34
	    bv.Velocity = Vector3.new(flyspeed,flyspeed,flyspeed)
35
		bv.Parent = torso
36
		
37
		local pe = Instance.new("ParticleEmitter", torso)
38
		pe.Texture = "rbxassetid://109251560"
39
		pe.Size = NumberSequence.new(0.5)
40
		pe.Lifetime = NumberRange.new(5,10)
41
		pe.Rate = 50
42
		pe.VelocitySpread = 45
43
		pe.Speed = NumberRange.new(10)
44
		
45
		local stars = Instance.new("Sound", torso)
46
		stars.Volume = 5.7
47
		stars.SoundId = "rbxassetid://626777433"
48
		stars.TimePosition = 1.5
49
		stars:Play()
50-
		if explode == true then
50+
		if explode == false then
51
		local ex = Instance.new("Sound", torso)
52
		ex.Volume = 10
53
		ex.SoundId = "rbxassetid://141679994"
54
		ex.TimePosition = 23.5
55
		ex:Play()
56
		for i = 1,countdown do
57
		tool.Name = "Madness in " .. countdown - i .. "."
58
		wait(1) 
59
		end
60
		tool.Name = "faq them again m8!"
61
		local explosion = Instance.new("Explosion", torso)
62
		explosion.Position = torso.Position
63
		ex.TimePosition = 0.4
64
		ex:Play()
65
		stars:Stop()
66
		torso.Parent:BreakJoints()
67
		pe:Destroy()
68
		end
69
		end
70
		end
71
	end)
72
end)